@import "src/common/styles/base";

.search {

  //position: relative;
  .search-wrapper {
    padding: 22px 34px 22px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    position: fixed;
    top: 0;
    z-index: 9;
    box-shadow: 0px 7px 64px 0px rgba(0, 0, 0, 0.07);
    width: 100%;
    box-sizing: border-box;

    .search-area {
      flex: 1;
      height: 69px;
      background: rgba(255, 255, 255, 1);
      box-shadow: 0px 7px 64px 0px rgba(0, 0, 0, 0.07);
      border-radius: 10px;
      display: flex;
      align-items: center;
      box-sizing: border-box;
      padding-left: 18px;

      .location-warpper {
        .location {
          display: flex;
          align-items: center;

          .city {
            font-size: 24px;
            font-weight: 600;
            color: rgba(51, 51, 51, 1);
            margin-right: 14px;
          }

          .icon {
            width: 20px;
            height: 24px;
            display: block;
            margin-right: 14px;
          }
        }
      }

      .line {
        border-left: 1px solid #cccccc;
        height: 32px;
      }

      .input-wrapper {
        position: relative;
        flex: 1;
        height: 100%;
        transition: all 0.2s ease-in-out;
        input,.input-fake {
          width: 100%;
          height: 100%;
          box-sizing: border-box;
          padding-left: 8px;
          padding-right: 56px;
          font-size: 24px;
          line-height: 69px;
          .placeholder{
            color: #b2b2b2;
          }
        }

        .icon {
          position: absolute;
          width: 20px;
          height: 20px;
          top: 25px;
          right: 28px;
        }
      }
    }

    .scan {
      display: block;
      width: 50px;
      height: 50px;
      margin-left: 21px;
    }

    .cancel {
      margin-left: 8px;
      color: #8A8B8C;
      font-size: 30px;
    }
  }

  .blank {
    height: 114px;
  }

  .search-content {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100vw;
    background: #fff;
    margin-top: 110px;
    height: calc(100vh - 110px);

    &__header {
      padding: 0 25px;
      font-size: 30px;
      margin-top: 15px;
      margin-bottom: 22px;
      font-weight: 400;
      color: #8A8B8C;
      line-height: 42px;

    }

    &__body {
      padding: 0 25px;
      display: flex;
      flex-wrap: wrap;

      .item {
        padding: 0 33px;
        margin-right: 11px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #CCCCCC;
        font-size: 24px;
        border-radius: 28px;
        margin-bottom: 28px;
      }
    }

    &__footer {
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      font-family: PingFangSC-Regular, PingFang SC;
      font-weight: 400;
      color: #8A8B8C;
    }
  }
}
